#ifndef __VTESTCOMMON_H__
#define __VTESTCOMMON_H__

#include "../VView/DxRender/vDxImageUtils.h"

WINX_SIMPLE_TEST(TestImageData)
{
	CImageData imgData;
	if (imgData.LoadFromFile(L"f:\\picture\\good\\20090530187.bmp"))
	{
		V_TRACEA("width: %d\n", imgData.m_nWidth);
		V_TRACEA("height: %d\n", imgData.m_nHeight);
		V_TRACEA("BitCount: %d\n", imgData.m_nBitCount);
		V_TRACEA("Size: %d\n", imgData.m_dwSize);
		V_TRACEA("Format: %d\n", imgData.m_Format);
		for (int i = 0; i < imgData.m_nHeight; ++i)
		{
			void* pData = imgData.GetScanLine(i);
		}
	}

}

#endif // __VTESTCOMMON_H__